package com.ljl.headfirst.job1;

public class Truck implements Car {
	private String truckcolor;
	private String truckname;

	public Truck(String tc, String tn) {
		truckcolor = tc;
		truckname = tn;
	}

	@Override
	public void run() {
		System.out.println("The " + truckcolor +" " + truckname + " truck is running ");
	}

}
